package com.sykj.weichat.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.weichat.model.BisCustomUser;
import com.sykj.weichat.dao.BisCustomUserDao;
import com.sykj.weichat.service.BisCustomUserService;

/**
 * 微信登录接口的实现类
 * @author 张孝柱
 * CreatedBy 2018-9-6
 * @see BisCustomUserService
 */
@Service
public class BisCustomUserServiceImp implements BisCustomUserService{
    @Autowired
    BisCustomUserDao BisCustomUserdao;
    /**
	 * 全查
	 * @param getall()
	 * @return 刷页面
	 */
	@Override
	public BisCustomUser getall(String mobile) {
		// TODO Auto-generated method stub
		return BisCustomUserdao.getall(mobile);
	}
	@Override
	public int update(BisCustomUser bisCustomUser) {
		return BisCustomUserdao.update(bisCustomUser);
	}
	@Override
	public void updatebeauty_num(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		 BisCustomUserdao.updatebeauty_num(bisCustomUser);
	}
	@Override
	public BisCustomUser getUsers(String custom_user_id) {
		// TODO Auto-generated method stub
		return BisCustomUserdao.getUsers(custom_user_id);
	}
	@Override
	public void beauty_num(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		BisCustomUserdao.beauty_num(bisCustomUser);
	}
	@Override
	public void register(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		BisCustomUserdao.register(bisCustomUser);
	}
	@Override
	public BisCustomUser getopenid(String openid) {
		// TODO Auto-generated method stub
		return BisCustomUserdao.getopenid(openid);
	}
	@Override
	public void mobile(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		BisCustomUserdao.mobile(bisCustomUser);
	}
	@Override
	public BisCustomUser maxid(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		return BisCustomUserdao.maxid(bisCustomUser);
	}

}
